﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FormulParserNamespace
{
    public class VariableNotExist : System.ApplicationException
    {
        public VariableNotExist() : base() { }
        public VariableNotExist(string str) : base(str) { }

        public override string ToString()
        {
            return Message;
        }
    }

    public class ParsingError : System.ApplicationException
    {
        public ParsingError() : base() { }
        public ParsingError(string str) : base(str) { }

        public override string ToString()
        {
            return Message;
        }
    }

    public class UnknownOperation : System.ApplicationException
    {
        public UnknownOperation() : base() { }
        public UnknownOperation(string str) : base(str) { }

        public override string ToString()
        {
            return Message;
        }
    }

    public class OperationAlreadyExist : System.ApplicationException
    {
        public OperationAlreadyExist() : base() { }
        public OperationAlreadyExist(string str) : base(str) { }

        public override string ToString()
        {
            return Message;
        }
    }

    public class MethodNotRealise : System.ApplicationException
    {
        public MethodNotRealise() : base() { }
        public MethodNotRealise(string str) : base(str) { }

        public override string ToString()
        {
            return Message;
        }
    }

    public class VariableHaveNotValue : System.ApplicationException
    {
        public VariableHaveNotValue() : base() { }
        public VariableHaveNotValue(string str) : base(str) { }

        public override string ToString()
        {
            return Message;
        }
    }
}
